#include <iostream>
#include "calculate.h"
#include "include/point.h"
#include "include/hero_ge.h"
#include "algorithm/index.h"
//void calculateArrayLength(int arr[]){
//    std::cout<<"fuck it "<<std::endl;
//}

// TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
//int main() {
//    int arr[] ={1, 2, 3, 4, 5, 6};
////    calculateArrrLength(arr);
//    calculate
//    return 0;
//}

//int main(){
//    Point p1={1,2};
//    Point p2={2,4};
//    Point sum;
//    sum=addPoints(p1,p2);
//    std::cout<<"sumx = "<<sum.x<<" sumY= "<<sum.y<<std::endl;
//}

////类的实现
//int main(){
////    study::hero_ge num1;
////    study::hero_ge num2(10);
//
//    study::Book c;
//    c.name="C++";
//    c.price=10;
//    c.value=10;
//    std::cout<<c.name<<"  "<<c.value<<"  "<<c.price<<std::endl;
//    return 0;
//}

void printCircle(study::Circle c){
    std::cout<<"("<<c.point.x<<' '<<c.point.y<<')'<<c.radio<<std::endl;
}

//学习类的用法
void circleFunction(){
    study::Circle c={ {9,8},5};
    printCircle(c);
    study::Circle d=study::moveCircle(c,1,2);
    printCircle(d);
}
int main(){
//    circleFunction();
    SequentialListTest();
    return 0;
}
// TIP See CLion help at <a
// href="https://www.jetbrains.com/help/clion/">jetbrains.com/help/clion/</a>.
//  Also, you can try interactive lessons for CLion by selecting
//  'Help | Learn IDE Features' from the main menu.